<!DOCTYPE html>
<html>
	<head>
		<title>setting web page</title>
		<meta charset="UTF-8"/>
		<script type='text/javascript' src='jquery-3.1.1.min.js'></script>
		<script type='text/javascript' src='event.js'></script>
		<script type='text/javascript' src='cmdlist.js'></script>
		<script type='text/javascript' src='ws.js'></script>
	</head>
	<body>
		<div id="operation">
			<table id="table">
				<tr>
					<td>Method:</td>
					<td>
						<select name="cmdlist" id="cmdlist" onChange="onSelChange(this)" style="width:440px">
							<option value="0">Login</option>
							<option value="1">Logout</option>
							<option value="2">GetAppList</option>
							<option value="3">GetCellTypeList</option>
						</select>
					</td>
				</tr>
				<tr>
					<td>Params:<br/></td>
				</tr>
			</table>
			<textarea id="msg" rows="16" spellcheck="false" style="width:500px; resize:none; font-family:Arial; font-size:12px; font-style:italic">{
	"user":"user",
	"passwd":"pass"
}</textarea>
			<br/>
			<input id="fupload" type="file" size="50" style="display:none; width:500px" onchange="fileSelected()">
			</input>
			<br/>
			<button id="send" onClick="onSend()">Send</button>
			<button id="clear" onClick="onClear()">Clear</button>
			<br/>
			<br/>
			<table>
				<tr>									
					<td>Websocket status:</td>
					<td><label id="wsstate">[closed]</label></td>
				</tr>
			</table>
			<textarea id="ws" rows="16" spellcheck="false" style="width:500px; resize:none; font-family:Arial; font-size:12px; font-style:italic"></textarea>
		</div>
	</body>
</html>
